﻿<phone:PhoneApplicationPage 
    x:Class="OnlineMovies.Views.MoviesHistory"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
       xmlns:my="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI"  
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:LART="clr-namespace:OnlineVideos"
 xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False" Loaded="PhoneApplicationPage_Loaded">
 
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="HistoryGrid">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>
        <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
       
        <!--Pivot Control-->
            <controls:Pivot x:Name="pvtMainHistory">
                <controls:Pivot.Title>
                <StackPanel Orientation="Horizontal" Margin="-10,0,0,10">
                    <Image Style="{StaticResource DetailPagePivotTitleImage}" x:Name="imgTitle" MouseEnter="imgTitle_MouseEnter"/>
                    <TextBlock x:Name="tblkVideosTitle"  Text="HISTORY" Style="{StaticResource DetailPagePivotTitle}"/>
                </StackPanel>
                </controls:Pivot.Title>
                <controls:Pivot.Foreground>
                white
                </controls:Pivot.Foreground>

            <!--Pivot item one-->
                <controls:PivotItem x:Name="pvtitmVideos" >
                <Grid x:Name="videosGrid">
                        <LART:ShowHistory x:Name="showHistory" />
                </Grid>
                </controls:PivotItem>
            
            </controls:Pivot>
    </Grid>
        <StackPanel Name="adstackplHistory" Grid.Row="1" Orientation="Vertical" Margin="-4,10,0,0" >
        </StackPanel>
    </Grid>

</phone:PhoneApplicationPage>
